import { createRouter, createWebHistory } from 'vue-router';

// 假设后续会创建对应的视图组件，这里先定义路由
const routes = [
  { path: '/', name: 'Home', component: () => import('../views/Home.vue') },
  { path: '/about', name: 'About', component: () => import('../views/About.vue') },
  { path: '/contact', name: 'Contact', component: () => import('../views/Contact.vue') },
  { path: '/excel', name: 'Excel', component: () => import('../views/Excel.vue') },
  { path: '/lucksheet', name: 'LuckExcel', component: () => import('../views/LuckSheet.vue') }
];

const router = createRouter({
  history: createWebHistory(),
  routes
});

export default router;